package com.example.user_center.service;

import com.example.user_center.model.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

/**
* @author 21117
* @description 针对表【user】的数据库操作Service 用户服务，
* @createDate 2025-06-17 10:26:39
*/
public interface UserService extends IService<User> {


     long userRegister(String userAccount, String userPassword, String checkPassword);
// 根据用户账号和密码进行登录
     User userLogin(String userAccount, String userPassword, HttpServletRequest request);

// 获取安全用户
     User getSafetyUser(User originUser);

// 根据标签名称列表搜索用户
     List<User> searchUsersByTags(List<String> tagNameList);
}
